-- Load some default values for our rectangle.
function love.load()
  --打开网址开始
  love.system.openURL("http://love2d.org/")
  --打开网址结束
  	font = love.graphics.newFont("font/SourceHanSansCN-Normal.otf",24)
    snd1 = love.audio.newSource("audio/M1.ogg", "static")
    snd2 = love.audio.newSource("audio/M2.ogg", "static")
    snd3 = love.audio.newSource("audio/M3.ogg", "static")
    love.audio.play(snd1,snd2,snd3)
    x, y, w, h = 20, 20, 60, 20
end
 
-- Increase the size of the rectangle every frame.
function love.update(dt)
    w = w + 1
    h = h + 1
end
 
-- Draw a coloured rectangle.
function love.draw()
    love.graphics.setColor(0, 0.4, 0.4)
    love.graphics.rectangle("fill", x, y, w, h)
   love.graphics.setColor(255, 255, 255)
   love.graphics.push()
   love.graphics.scale(0.5, 0.5)   -- reduce everything by 50% in both X and Y coordinates
   love.graphics.setFont(font)
   love.graphics.print("美元", 50, 50)
   love.graphics.pop()
   love.graphics.print("金融帝国实验室", 50, 50)
   love.graphics.print("Monopoly",100,70)
  love.graphics.print("多人在线",100,100)
  love.graphics.print("QQ群：2199361",100,130)
  love.graphics.print("一款支持全平台的游戏",100,160)
  
  local screenwidth=love.graphics.getWidth()
  local screenheight= love.graphics.getHeight()
  
  imagelogo = love.graphics.newImage( "images/logo-512.png" )
  love.graphics.draw(imagelogo,screenwidth/2-256,screenheight/2-256)
end